<!doctype html>
<html>
<head>
<meta charset="utf-8"/>
<title>{$head[title]}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta content="{$head[keywords]}" name="keywords" />
<meta content="{$head[description]}" name="description" />
<base href="{SITE_URL}" />
<link href="favicon.ico" rel="shortcut icon" />
<link href="skin/style.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="{$head[title]}" href="/rss.php?rssid={$catid}" />
<script language="JavaScript" src="misc/config.js"></script>
<script language="JavaScript" src="misc/jquery.min.js"></script>
<script language="JavaScript" src="misc/common.js"></script>
<script language="JavaScript" src="misc/validator.js"></script>
<link href="{TPL_PATH}forum/forum.css" rel="stylesheet" />
</head>
<body>

{template 'header.html'}

<div class="container"> 


<div class="current">
	<a href="{SITE_URL}">首页</a> » <a href="{url("?module=forum")}">论坛</a> » <a href="?module=forum&amp;action=thread_list&amp;fid={$forumdata[fid]}">{$forumdata[name]}</a>
</div>
 
<p><a href="?module={$module}&amp;action=thread_new&fid={$fid}&tid={$tid}">发帖</a></p>

<table border="1" cellpadding="0" cellspacing="0">
<thead >
<tr>
<td colspan="2">&nbsp;<a    href="#">类型</a></td>
<td width="490"><p>主题:全部 / 精华 / 时间:一天 / 两天 / 周 / 月/ 季 / 热门</p>  </td>
<td width="148" ><a href="#">回复</a>&nbsp;<a  href="#">查看</a></td>
<td width="97" ><cite><a  href="#">最后发表</a></cite></td>
<td width="97" ><cite><a  href="#"></a></cite></td>
</tr>
</thead>

{loop $threads $k $v}
<tbody >
<tr>
<td width="45" >
<a target="_blank" title="新窗口打开" href="#">new</a></td>
<td width="21" >&nbsp;</td>
<td>
<label>&nbsp;</label>
 <span ><a href="{url("?module=forum&action=thread_view&fid=$fid&tid=$v[tid]")}">{$v[subject]}</a></span></td>
<td >
<cite>
<a href="#">admin</a></cite>
<em>2011-7-4</em></td>
<td ><strong>0</strong>/<em>0</em></td>
<td width="145" >
<cite><a href="#">admin</a></cite>
<em><a href="#"><span title="2011-7-4 10:27">20&nbsp;分钟前</span></a></em></td>
</tr>
</tbody>
{/loop}
</table>

<div class="pagination">{php echo $forum->pages}</div>

</div>
{template 'footer.html'}